/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Serveur;

import exception.ChoiceException;
import exception.CommunicationException;
import exception.CommunicationResponseException;
import exception.ReadingObjectException;
import java.io.IOException;

/**
 *
 * @author Florian Minin
 * @author Khémon Beh
 */
public interface InterfaceProtocoleServeur {
    public void envoyerResultat(double resultat) throws CommunicationResponseException;
    public void recevoirMessage() throws CommunicationResponseException, ReadingObjectException;
    public String choixFonction() throws ChoiceException;
    public Object getParametre(String cle);
    public void envoyerErreurMontant() throws CommunicationResponseException;
    public void envoyerErreurNbAn() throws CommunicationResponseException;
    public void envoyerErreurTxInteret() throws CommunicationResponseException;
    public void envoyerErreurAnnuites() throws CommunicationResponseException;
    public void envoyerErreurChoix() throws CommunicationResponseException;
}
